import { axios } from '@/utils/request'

/**
 * 查询打分记录
 *
 * @author kongxm
 * @date 2022-07-17 14:52:27
 */
export function scoreRecordsPage(parameter) {
  return axios({
    url: '/scoreRecords/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 打分记录列表
 *
 * @author kongxm
 * @date 2022-07-17 14:52:27
 */
export function scoreRecordsList(parameter) {
  return axios({
    url: '/scoreRecords/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加打分记录
 *
 * @author kongxm
 * @date 2022-07-17 14:52:27
 */
export function scoreRecordsAdd(parameter) {
  return axios({
    url: '/scoreRecords/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 添加打分记录
 *
 * @author kongxm
 * @date 2022-07-17 14:52:27
 */
export function scoreRecordsSave(parameter) {
  return axios({
    url: '/scoreRecords/save',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑打分记录
 *
 * @author kongxm
 * @date 2022-07-17 14:52:27
 */
export function scoreRecordsEdit(parameter) {
  return axios({
    url: '/scoreRecords/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除打分记录
 *
 * @author kongxm
 * @date 2022-07-17 14:52:27
 */
export function scoreRecordsDelete(parameter) {
  return axios({
    url: '/scoreRecords/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出打分记录
 *
 * @author kongxm
 * @date 2022-07-17 14:52:27
 */
export function scoreRecordsExport(parameter) {
  return axios({
    url: '/scoreRecords/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
